package com.yayako.result;

/**
 * @author cyy
 */
public enum ResultCode {
    /**
     * 成功
     */
    SUCCESS(200),
    FAIL(400),
    UNAUTHORIZED(401),
    FORBIDDEN(403),
    NOT_FOUND(404),
    INTERNAL_SERVER_ERROR(500);

    public Integer code;

    ResultCode(Integer code) {
        this.code = code;
    }
}
